package com.cloud.pole.api.param;

import java.io.Serializable;

/**
 * @author 
 */
public class ParamAreaApi implements Serializable {
    /**
     * 地区类型(0:大区 1:省 2:市 3:区)
     */
	public static final int AREA_TYPE_ONE 		= 0;
	public static final int AREA_TYPE_PROVINCE 	= 1;
	public static final int AREA_TYPE_CITY     	= 2;
	public static final int AREA_TYPE_DISTRICT  = 3;
	
	public static final String AREA_CODE_ROOT = "root";


    /**
     * 地区编码
     */
    private String code;

    /**
     * 地区名称
     */
    private String name;

    /**
     * 地区类型(0:大区 1:省 2:市 3:区)
     */
    private Integer type;

    /**
     * 排序等级
     */
    private Integer orderLevel;

    /**
     * 状态:0新建,1启用,2停用
     */
    private Integer status;

    /**
     * 显示状态:0不显示,1显示
     */
    private Integer showStatus;

    private static final long serialVersionUID = 1L;

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getOrderLevel() {
		return orderLevel;
	}

	public void setOrderLevel(Integer orderLevel) {
		this.orderLevel = orderLevel;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getShowStatus() {
		return showStatus;
	}

	public void setShowStatus(Integer showStatus) {
		this.showStatus = showStatus;
	}
}